package cn.kgc.ybis.service;


import cn.kgc.ybis.common.Dto;
import cn.kgc.ybis.pojo.SchoolManager;
import cn.kgc.ybis.pojo.Teacher;
import cn.kgc.ybis.pojo.User;

public interface UserService {

    public Dto login(String uPhone, String uPassword);
    public Dto login2(String tPhone,String tPassword);
    public Dto login4(String smPhone,String smPassword);
    //检查teacher并返回对象
    public Teacher selectTeacherByEx(String tPhone,String tPassword);
    //检查并SchoolManager返回对象
    public SchoolManager selectSchoolManager(String smPhone,String smPassword);
    //检查user并返回对象
    public User selectUserByEx(String uPhone, String uPassword);
}
